﻿using Microsoft.EntityFrameworkCore;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class MyDbContext : DbContext
    {
        private readonly DbContextOptions options;

        public MyDbContext(DbContextOptions options) : base(options)
        {
            this.options = options;
        }

        /// <summary>
        /// 食谱表
        /// </summary>
        public DbSet<Certyeoy> certyeoys { get; set; }

        /// <summary>
        /// 分类表
        /// </summary>
        public DbSet<CaiXia> caiXias { get; set; }

        /// <summary>
        /// 康复理疗表
        /// </summary>
        public DbSet<Klipoerty> klipoerty { get; set; }
    }
}
